<template>
    <Child1 @someEvent="getHandle" />
    <p>{{ message }}</p>
</template>
<!-- 传事件 -->
<script>
import Child1 from './Child1.vue';
export default {
    data() {
        return {
            message: "hello",
        }
    },
    comments: {
        Child1
    },
    methods: {
        getHandle() {
            this.message = data;
        }
    },
}
</script>


</style>